package com.catietie.bookmanagement.dao.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Book implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 图书id
     */
    private Integer id;

    /**
     * title
     */
    private String title;


    /**
     * borrow_time
     */
    private LocalDateTime borrowTime;

    /**
     * return_time
     */
    private LocalDateTime returnTime;

    /**
     * 0 已归还1 已借阅
     */
    private Integer borrowStatus;

    /**
     * borrow_user
     */
    private String borrowUser;

}